package com.whminwei.edu.api.dc.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.fspn.school.DcBldgWardenFspn;
import com.whminwei.edu.api.dc.dto.fspn.school.DcBuildingFspn;
import com.whminwei.edu.api.dc.dto.fspn.school.DcRoomUserFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 校内建筑
 * 包含教学楼（办公室、教室）
 * 宿舍楼（宿舍）
 *@author wangy
 *@since 2024/7/25
 */
@FeignClient(name = "xzzg-pt-school-service", contextId = "datacenter-building", configuration = FullHttpRspnConfig.class)
public interface DcSchoolBuildingClient {
    /**
     * 获取教学楼列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.school.dto.fspn.DcBuildingRspn>
     * @author zhangjq
     * @since 2024-05-10
     */
    @PostMapping("/datacenter/getTchBldgList")
    FullHttpResponse<DcBuildingFspn> getTchBldgList();

    /**
     * 获取宿舍楼列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.school.dto.fspn.DcBuildingRspn>
     * @author zhangjq
     * @since 2024-05-10
     */
    @PostMapping("/datacenter/getDormBldgList")
    FullHttpResponse<DcBuildingFspn> getDormBldgList();


    /**
     * 获取宿舍管理员列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.school.dto.fspn.DcBldgWardenFspn>
     * @author zhangjq
     * @since 2024-05-12
     */
    @PostMapping("/datacenter/getDormWardenList")
    FullHttpResponse<DcBldgWardenFspn> getDormWardenList();

    /**
     * 获取办公室教师列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.school.dto.fspn.DcRoomUserFspn>
     * @author zhangjq
     * @since 2024-05-12
     */
    @PostMapping("/datacenter/getOfcStaffList")
    FullHttpResponse<DcRoomUserFspn> getOfcStaffList();
}
